/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package edu.wpi.first.wpilibj.templates;

import edu.wpi.first.wpilibj.smartdashboard.SmartDashboard;

/**
 *
 * @author User
 */
public class SonarDriver {
    public static void main()
    {
        String x = "Inches";
        String y = "Feet";
        MainClass sensor = new MainClass( 1,2 );
        sensor.initSonar();
        SmartDashboard.putNumber( x , sensor.getDistance());
        SmartDashboard.putNumber( y, sensor.getFeet() );
    }
}
